package com.winsun.hellozookeeper.service.impl;

import com.winsun.hellozookeeper.service.HelloService;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

public class HelloServiceImpl extends UnicastRemoteObject implements HelloService {
    public HelloServiceImpl() throws RemoteException{}
    @Override
    public String sayHello(String name) throws RemoteException {
        return name+"对你说：你好！";
    }
}
